package com.admin.bean;

import java.sql.Timestamp;

public class ActvOrDaka {
	private Timestamp time;
	private String name,dep,province,city,address,path,photo,memo,checkmemo,clientName,clientCode;
	
	private Integer type,id,state,actvType,uid,checked;
	
	public static String getTitle(){
		return "time,name,dep,province,city,address,path,photo,memo,checkmemo,clientCode,type,id,state,actvType,clientName";
	}
	
	public String toString(){
		memo=(memo==null?"":memo);
		checkmemo=(checkmemo==null?"":checkmemo);
		return time.toString()+","+name+","+dep+","+province+","+city+","+address+","+path+","+photo+","+memo.replace(",","#")+","
					+checkmemo.replace(",", "#")+","+clientCode+","+type+","+id+","+state+","+actvType+","+clientName+",";
	}
	
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDep() {
		return dep;
	}
	public void setDep(String dep) {
		this.dep = dep;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	public String getCheckmemo() {
		return checkmemo;
	}
	public void setCheckmemo(String checkmemo) {
		this.checkmemo = checkmemo;
	}
	public Integer getActvType() {
		return actvType;
	}
	public void setActvType(Integer actvType) {
		this.actvType = actvType;
	}
	public String getClientCode() {
		return clientCode;
	}
	public void setClientCode(String clientCode) {
		this.clientCode = clientCode;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getClientName() {
		return clientName;
	}

	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

	public Integer getChecked() {
		return checked;
	}

	public void setChecked(Integer checked) {
		this.checked = checked;
	}
	
	

}
